home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: FW_CString
- Sent: 8/22/96 9:24 AM
- Received: 8/22/96 9:04 AM
- From: Scott Adler, sadler@spss.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >By the selection color I assume you mean the highlight color. In ODF 1 If
- >you use the FW_kHilite transfer mode with your ink and black for the
- >foreground color you will get the system highlight color. We changed that
- >in ODF 2: FW_kHilite always uses the ink foreground color,
- >FW_kSystemHilite ignores the ink foreground color and uses instead the
- >system hightlight color.
- >
- >........................................................................
- > Henri Lamiraux lamiraux@apple.com
- > Apple Computer, Inc. OpenDoc(tm) Development Framework
- >........................................................................
-
-
- OK, this seems to be a way to get an object to draw in the highlight
- color, but for highlighting text I want to be smart about the highlight
- and I wnat to get the correct highlight background color, and the
- corresponding foreground color. For example, if the user has Green as the
- highlight color, that corresponds to green background with black text. If
- they have black as the highlight color that corresponds to black
- background with white text.
-
- Is there a way to get both the background and foreground colors correctly
- for my highlighted text object?
-
- -Scott Adler
-